package com.donleo.word.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.donleo.word.mapper.WordMapper;
import com.donleo.word.model.Word;
import com.donleo.word.service.WordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liangd
 * @since 2021-01-11 18:27
 */
@Service
public class WordServiceImpl  extends ServiceImpl<WordMapper, Word> implements WordService {

    @Autowired
    private WordMapper wordMapper;

    @Override
    public List<Word> findWordByUserCode(String userCode) {
        return wordMapper.findWordByUserCode(userCode);
    }
}
